package com.aaa.hospital.Client.service.Impl;

import com.aaa.hospital.Client.mapper.VisitingcardMapper;
import com.aaa.hospital.Client.service.VisitingcardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VisitingcardServiceImpl implements VisitingcardService {
    @Autowired
    private VisitingcardMapper  mapper;
    @Override
    public int insertBalance(Integer balance, Integer uid) {
        return mapper.insertBalance(balance,uid);
    }

    @Override
    public int updateBalance(Integer visid, Integer balance) {
        return mapper.updateBalance(visid,balance);
    }
}
